<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Pro;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    //
    public function index() {
    	$pro = Pro::where('status',1)->orderBy('pid','desc')->skip(0)->take(3)->get();
    	// dd($pro);
    	return view('index',['pro'=>$pro]);
    }
}
